﻿class Page {
	
	// variables
	var intId:Number;
	var intSiteId:Number;
	var intParentId:Number;
	var strTitle:String;
	var intDeleted:Number;
	var intApproved:Number;
	var intInNavigation:Number;	
	
	// constructor
	function Page(intId, intParentId, strTitle, intDeleted, intApproved, intInNavigation) {
		this.intId = intId;
		this.intParentId = intParentId;
		this.strTitle = strTitle;
		this.intDeleted = intDeleted;
		this.intApproved = intApproved;
		this.intInNavigation = intInNavigation;
	}
	
	function getId() {
		return this.intId;
	}
	
	function getSiteId() {
		return this.intSiteId;
	}
	
	function getParentId() {
		return this.intParentId;
	}
	
	function getTitle() {
		return this.strTitle;
	}
	
	function getDeleted() {
		return this.intDeleted;
	}

	function getApproved() {
		return this.intApproved;
	}

	function getInNavigation() {
		return this.intInNavigation;
	}
	
	function setId(intId) {
		this.intId = intId;
	}
	
	function setSiteId(intSiteId) {
		this.intSiteId = intSiteId;
	}
	
	function setParentId(intParentId) {
		this.intParentId = intParentId;
	}
	
	function setTitle(strTitle) {
		this.strTitle = strTitle;
	}
	
	function setDeleted(intDeleted) {
		this.intDeleted = intDeleted;
	}

	function setApproved(intApproved) {
		this.intApproved = intApproved;
	}

	function setInNavigation(intInNavigation) {
		this.intInNavigation = intInNavigation;
	}
}